package com.millstein.tsinglog.model.dto.carousel;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 保存轮播图配置信息的实体
 */
@Data
public class CarouselSaveDTO {
    @NotNull
    private Integer maxNum;
    @NotNull
    @Max(10000)
    @Min(3000)
    private Long interval;
}
